package nav;

import javax.servlet.http.HttpSession;

public class PagesNav {

	public static final String FOLDER="/ad-odv-web/";
	public static final String HEADER=FOLDER + "header.jsp";
	public static final String INDEX=FOLDER + "index.jsp";
	public static final String LOGIN=FOLDER + "/ad-odv-web/login.jsp";
	public static final String GENERARSOLICITUD=FOLDER + "generarSolicitud.jsp";
	public static final String COMPARATIVAPRECIOS=FOLDER + "comparativaPrecios.jsp";
	public static final String COTIZARSOLICITUDES=FOLDER + "cotizarSolicitudes.jsp";
	//public static final String PAGINA=FOLDER + ".jsp";
	public static final String TITULO="Aplicaciones Distribuidas - TPO - Grupo 1";
	
	
	public static void errorMsgSet(HttpSession s,String msg)
	{
		s.setAttribute("errmessage",msg );
	}
	public static void errorMsgClean(HttpSession s)
	{
		s.setAttribute("errmessage",null );
	}
	public static String errorMsgGet(HttpSession s)
	{
		return (String ) s.getAttribute("errmessage");
	}
	
}
